﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductDetails.aspx.cs" Inherits="ProductDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 138px;
        }
        .style2
        {
            width: 187px;
        }
    </style>
</head>
<body>
    <h2>
        Product Details</h2>
    <form id="form1" runat="server">
    <p>
        OrderID :
        <asp:Label ID="lblOrderID" runat="server" Text="[lblOrderID]"></asp:Label>
    </p>
    <div>
    
        <table style="width:100%;">
            <tr>
                <td class="style1">
                    Product Name :</td>
                <td class="style2">
                    <asp:DropDownList ID="ddlProductName" runat="server" Height="22px" 
                        Width="147px" onselectedindexchanged="ddlProductName_SelectedIndexChanged">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    ProductID :</td>
                <td class="style2">
                    <asp:TextBox ID="txtProductID" runat="server" Width="184px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Price (In Dollars) :</td>
                <td class="style2">
                    <asp:TextBox ID="txtPrice" runat="server" Width="183px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Quantity :</td>
                <td class="style2">
                    <asp:TextBox ID="txtQuantity" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Button ID="btnNext" runat="server" Text="Next" onclick="btnNext_Click" />
                    <asp:Button ID="btnReset" runat="server" CausesValidation="False" 
                        Text="Reset" onclick="btnReset_Click" />
                </td>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    <asp:ValidationSummary ID="valSummaryProduct" runat="server" 
        ForeColor="#FF3300" />
    </form>
</body>
</html>
